/**
 * Created with  SublimeText
 * @Author:      Lyle
 * @DateTime:    2017-01-19 22:21:37
 * @Description: 
 */

const initialState = {
    childModuleName: 'AdminUserList'
}

export default function setModuleStatus(state = initialState, action) {
    switch (action.type) {
        case 'SET_CURRENT_MODULE':
            return Object.assign({}, state, action.data)
        default:
            return state
    }
}
